package com.sneakxy.mybase4j.platform.service;

import java.util.List;

import com.sneakxy.mybase4j.base.service.IBaseService;
import com.sneakxy.mybase4j.platform.beans.Permission;

/**
 * 
 * @author 潜行的青衣
 * @see
 */
public interface IPermissionService extends IBaseService<Permission, String> {

	public List<Permission> findAllByParentId(boolean hasChildren);
	
	public long countByParentId(String parentId);
	
}
